<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>{{title}}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="淘宝推广应用">
    <meta name="author" content="bc">

    <!-- Le styles -->
    <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/static/css/style.css" rel="stylesheet">
    <link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>

      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
      <script src="/static/js/jquery.js"></script>
      <script src="/static/js/cat.js"></script>
      <script src="/static/bootstrap/js/bootstrap.js"></script>
      <script src="/static/bootstrap/js/bootstrap.min.js"></script>
      <script src="/static/bootstrap/js/bootstrap-dropdown.js"></script>
    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
                    <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
                                   <link rel="shortcut icon" href="ico/favicon.png">
  </head>

  <body>

    <div class="container-narrow">

      <div class="masthead">
        <ul class="nav nav-pills pull-right">
          <li {% if title=="index" %}
                class="active"
              {% endif %}
              ><a href="/">首页</a></li>
          <li {% if title=="email" %}
                class="active"
              {% endif %}
              ><a href="/email">邮件推广</a></li>
          <li{% if title=="about" %}
                class="active"
            {% endif %}
              ><a href="#">关于</a></li>
          <li
            {% if title=="留言" %}
                class="active"
            {% endif %}
            ><a href="#">联系</a></li>
        </ul>
        <h1>11111</h1>
      </div>

     <hr>
      {% block body %}{% endblock %}

      <hr>

      <div class="footer">
        <p>&copy; 菠菜</p>
      </div>

    </div> <!-- /container -->

  </body>
</html>

